<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>p5_文字处理</title>
    <style>
        p{
           /* 文字大小 谷歌默认字号16px*/
           font-size:30px;
            /* 字体，可以写多个，从前往后加载 */
            font-family: "宋体aa","幼圆";
        }
        a{
            text-decoration: underline;
            text-decoration: line-through;
            text-decoration: overline;
            text-decoration: none;
        }
        div{
            width: 200px;
            height: 200px;
            border: 5px solid green;
            /* 文字水平居中*/
            text-align: center;
            /*让单行文本和行高与父级块元素一样高，可以垂直居中 */
            line-height: 200px;
        }
        span{
            font-width: bold;
            font-width: lighter;
            font-width: normal;
            font-style: italic;
        }
        h4{
            text-shadow: 5px 5px 5px red;
        }
    </style>
</head>
<body>
    <P>我是测试文字 123 ABC abc</P>
    <a href="#">超链接</a>
    <div>我是div</div>
    <span>我是span</span>
    <h4>测试文字阴影</h4>
</body>
</html>